import React, { Component } from 'react'
import Home from './components/Home';
import About from './components/About';
import store from './store'
import './App.css';


class App extends Component {
  constructor() {
    super()
    store.subscribe(() => {
      this.setState({})
    })
  }
  render() {
    return (
      <div>
        <Home />
        <About />
      </div>
    )
  }
}

// function App() {
//   return (
//     <div className="App">
//       <Home />
//       <About />
//     </div>
//   );
// }

export default App;
